<?echo $this->forms?>

<ul><?=$this->message?></ul>
	
	<table class="sortable" border="1" STYLE="width:400px;">
  <tr>
    <th>DNI</th>
    <th>Name</th>
    <th>Apellido</th>
    <th>SEXO</th>
    <th>PESO</th>
    <th>FECHA DE NACIMIENTO</th>
    <th>DIRECCION</th>
    <th>OBRA SOCIAL</th>
    <th>NRO</th>
    <th>PLAN</th>
    <th>1er CONSULTA</th>
    <th>ACCIÓN</th>
  </tr>
  <?php foreach ($this->pacs as $pac) {?>
  <tr>
  	<th><?=$pac->PDNI?></th>
    <th><?=$pac->PNOMBRE_PACIENTE?></th>
    <th><?=$pac->APELLIDO_PACIENTE?></th>
    <th><?=$pac->PSEXO?></th>
    <th><?=$pac->PPESO?></th>
    <th><?=$pac->PFECHA_DE_NAC?></th>
    <th><?=$pac->PDOMICILIO?></th>
    <th><?=$pac->POBRA_SOCIAL?></th>
    <th><?=$pac->PNRO_AFILIADO?></th>
    <th><?=$pac->PPLAN?></th>
    <th><?=$pac->PFECHA_PRIMER_CONSULTA?></th>
    
    <?$this->form = new Form_Form($pac->PDNI) ?>
    <th><?=$this->form?></th>
    </tr>
    <?php }?>
</table>

